package com.Pan.util;

import java.util.concurrent.Callable;
import java.util.concurrent.Future;

/**
 * @ClassName RunRepeatService
 *
 * @Description: 重跑服务类
 *
 * @Author yangtao
 *
 * @Date 2021/8/20
 **/

public interface Executor {

    void execute(Runnable runnable);

    Future execute(Callable callable);

}
